res1: UInt16 = -1